package com.liuzh.kaoyanspringboot.service;

import com.liuzh.kaoyanspringboot.entity.Role;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author 刘志鸿
 * @since 2023-03-03
 */
public interface RoleService extends IService<Role> {
    void setRoleMenu(Integer roleId, List<Integer> menuIds);

    List<Integer> getRoleMenu(Integer roleId);

    boolean deleteById(Integer id);
}
